package com.zyy.strategy;

/**
 * @Description: 类描述
 * @Author: zyy
 * @Date: 2023/08/09 17:12
 */
public class Client {
    public static void main(String[] args) {
        //儿童节
        StrategyA strategyA = new StrategyA();
        SalesMan salesMan = new SalesMan(strategyA);
        salesMan.salesManShow();
        System.out.println("===============");

        //劳动节
        StrategyB strategyB = new StrategyB();
        salesMan.setStrategy(strategyB);
        salesMan.salesManShow();
        System.out.println("===============");


        //端午节
        StrategyC strategyC = new StrategyC();
        salesMan.setStrategy(strategyC);
        salesMan.salesManShow();

    }
}
